<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="" id="form2">
    用户名 <input type="text" placeholder="请输入用户名" required autofocus minlength="7" maxlength="16" name="uname"><br>
    密码&nbsp&nbsp&nbsp&nbsp<input type="password" placeholder="请输入密码" required name="upwd"><br>
    邮箱&nbsp&nbsp&nbsp&nbsp<input type="email" multiple placeholder="xxx@xxx.xxx" name="email"><br>
    电话&nbsp&nbsp&nbsp&nbsp<input type="text" placeholder="电话" pattern="1[3456789]\d{9}" name="tel">
    <input type="submit"><br>
</form>
年龄&nbsp&nbsp&nbsp&nbsp<input form="form2" type="number" placeholder="age" min="5" max="60" name="myname"><br>
</body>
</html>